[client]
socket=/var/lib/mysql/mysql.sock

[mysqld]
log-bin=mysql-bin
server-id=(server_id)
binlog_format=mixed
auto-increment-increment=2
auto-increment-offset=1
slave_skip_errors=1062
expire_logs_days=7

socket=/var/lib/mysql/mysql.sock
max_allowed_packet=100M
datadir=/usr/local/mysql/data
max_connections=20000
group_concat_max_len=5120
tmpdir=/usr/local/mysql/data/tmp/
lower_case_table_names=1
innodb_strict_mode=0
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd

[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/lib/mysql/mysql.pid

#
# include all files from the config directory
#
!includedir /etc/my.cnf.d

# end